<?php
define('APP_DEBUG', true);
define('APP_ROOT','/');//站点安装目录
define('SITE_PATH',realpath(__DIR__.'/../').'/');
define('WEB_PATH',SITE_PATH.'wwwroot/');
define('RUNTIME_PATH',SITE_PATH . 'system/runtime/admin/');
define('APP_NAME', 'admin');
define('APP_PATH', '../application/admin/');
if(isset($_REQUEST['m'])){
    define('MODULE_NAME',isset($_REQUEST['m']) ? $_REQUEST['m'] : 'Index');
}
if(isset($_REQUEST['a'])){
    define('ACTION_NAME',isset($_REQUEST['a']) ? $_REQUEST['a'] : 'index');
}
require('../framework/ThinkPHP.php');
?>